<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Product</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Product</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
													</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
		<p class="notes">
			Located in <a class="field" href="_models---product.php.html">/models/product.php</a> (line <span class="field">2</span>)
		</p>
		
				
		<pre>AppModel
   |
   --Product</pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																								<div class="var-title">
					<span class="var-type">mixed</span>
					<a href="#$validate" title="details" class="var-name">$validate</a>
				</div>
											</div>
		</div>
	</div>


	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<span class="disabled">Vars</span>
						
			
								</div>
		<div class="info-box-body">
			<a name="var$validate" id="$validate"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">mixed</span>
			<span class="var-name">$validate</span>
			 = <span class="var-default">array(<br />                'title' =&gt; array(<br />                        'rule1' =&gt; array('rule' =&gt; 'notEmpty', 'message' =&gt; 'タイトルは必須です'),'rule2'=&gt;array('rule'=&gt;'isUnique','message'=&gt;'この商品名はすでに使用されています。')),'description'=&gt;array('rule'=&gt;VALID_NOT_EMPTY,'message'=&gt;'概要を入力してください'),'image_url'=&gt;array('rule'=&gt;VALID_NOT_EMPTY,'message'=&gt;'画像のURLを指定してください'),'price'=&gt;array('rule1'=&gt;array('rule'=&gt;'decimal','rquired'=&gt;true,'message'=&gt;'価格を数値で入力してくだっさい'),'rule2'=&gt;array('rule'=&gt;array('comparison','&gt;',0.0),'message'=&gt;'0より大きい価格を設定してください')),'image_url'=&gt;array('rule1'=&gt;array('rule'=&gt;array('url',true),'message'=&gt;'URLが不正です。'),'rule2'=&gt;array('rule'=&gt;array('extension',array('gif','jpeg','png','jpg')),'message'=&gt;'適切な画像ファイルのURLを入力してください。(例：http://hogehoge.com/foo.jpg)')))</span>			(line <span class="line-number">3</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	
	
		
		

</div>
						
		</div>
	</div>
	


	<p class="notes" id="credit">
		Documentation generated on Fri, 06 Nov 2009 10:53:59 +0900 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>